package com.flyqiu.common.sc;

import com.flyqiu.common.sc.annotations.FlyQiuStatistical;
import com.flyqiu.common.sc.annotations.FlyQiuStatisticalWrapper;
import lombok.Data;

@Data
public class StudentAchievementRecord {
    private String userName;
    private String subject;
    @FlyQiuStatisticalWrapper(
            {
                    @FlyQiuStatistical(calculateType = "sum"),
                    @FlyQiuStatistical(calculateType = "avg", outFieldName = "平均值"),
                    @FlyQiuStatistical(calculateType = "count", outFieldName = "统计数量")
            }
    )
    private Double achievement;

}
